const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  publicPath: ".",//配置静态资源为当前目录
  devServer: {
    proxy: {
      "/api": {
        target:'http://chst.vip',//目标服务器
        pathRewrite: { //路径重写
          "^/api":""
        }
      }
    }
  }
});